.tag {
  height: 1.25rem;
  min-width: 1.25rem;
  background-color: var(--text-color);
  color: var(--text-color-alt);
  display: inline-flex;
  align-items: center;
  padding: 0 0.375rem;
  border-radius: 0.125rem;
  font-size: 0.8125rem;
  margin: 0.125rem;
  white-space: nowrap;
  overflow: hidden;

  .label {
    overflow: clip visible;
    text-overflow: ellipsis;
  }

  button {
    min-height: 1em;
    min-width: 1em;
    margin-inline-start: 0.25rem;
    border-radius: 0.25rem;

    &:hover {
      background-color: rgba(0, 0, 0, 0.125);
    }
  }

  .custom-icon {
    margin: 0;
  }
}
